package com.ef.service;

import java.util.List;

import com.ef.domain.ClassType;
import com.ef.util.CustomExample;
import com.ef.util.PaginationSupport;

public interface ClassTypeService extends BaseService {

	public PaginationSupport<ClassType> findByExample(
			CustomExample<ClassType> example, int startIndex, int pageSize);

	public void saveOrUpdate(ClassType entity);

	public void delete(ClassType entity);

	public ClassType findById(Long id);

	public List<ClassType> findByName(String name, int max);
	
	public List<ClassType> findAll();
	
	public List<ClassType> findALLValid();
	
	public List<ClassType> findByName(String name);
}
